<template>
  <div>
    <input type="text" :value="value" @change="change" />
  </div>
</template>

<script>
export default {
  props: {
    value: String
  },
  methods: {
    change(e) {
      this.$emit("input", e.target.value);
    }
  }
};
</script>

<style>
</style>